package com.bj58.mis.apm.server.statistics.suggest;

import com.bj58.mis.apm.server.statistics.dto.optimize.CubeSuggest;
import com.bj58.mis.apm.server.statistics.dto.optimize.SuggestFactor;

/**
 * @Author: wangxw
 * @Date: 2018/10/20 10:01
 */
public interface TurningSuggest {
    /**
     * 生成分析建议和调优建议
     * @param cubeId
     * @param factor
     * @return
     */
    CubeSuggest getCubeSuggest(String cubeId, SuggestFactor factor);

    /**
     * 读取默认调优因子
     * @return
     */
    SuggestFactor getSuggestFactor();
}
